package com.sendpo.zjx.sendpo.domain;

import java.util.List;

/**
 * Created by 朱俊鑫 on 2018
 */

public class ProduceOrderInfoDomain {
    /**
     * msg :
     * flag : true
     * data : {"orderId":100,"orderStatus":2,"price":47.2,"originalPrice":75.2,"discountType":0,"discountPrice":0,"productOrderProductInfoBeans":[{"productPrice":"9.80","type":1,"productId":97,"productImg":"http://www.tofacial.com:8080/img/T17NTLIQM9GF6V95LS6P.jpg","productName":"泰国进口椰青 2个装 单果约750g 赠送开椰器和吸管","merchantsId":13,"merchantsName":"沃尔玛","merchantsImg":"http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/39/151601396105720180115185744.jpg","count":4,"giveMethod":1}],"count":4,"createDate":"2018-01-22 11:08:41","giveMethod":1,"deliveryType":0,"deliveryMoney":8}
     */

    private String msg;
    private boolean flag;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * orderId : 100
         * orderStatus : 2
         * price : 47.2
         * originalPrice : 75.2
         * discountType : 0
         * discountPrice : 0
         * productOrderProductInfoBeans : [{"productPrice":"9.80","type":1,"productId":97,"productImg":"http://www.tofacial.com:8080/img/T17NTLIQM9GF6V95LS6P.jpg","productName":"泰国进口椰青 2个装 单果约750g 赠送开椰器和吸管","merchantsId":13,"merchantsName":"沃尔玛","merchantsImg":"http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/39/151601396105720180115185744.jpg","count":4,"giveMethod":1}]
         * count : 4
         * createDate : 2018-01-22 11:08:41
         * giveMethod : 1
         * deliveryType : 0
         * deliveryMoney : 8
         */

        private int orderId;
        private int orderStatus;
        private double price;
        private double originalPrice;
        private int discountType;
        private int discountPrice;
        private int count;
        private String createDate;
        private int giveMethod;
        private int deliveryType;
        private int deliveryMoney;
        private List<ProductOrderProductInfoBeansBean> productOrderProductInfoBeans;

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(double originalPrice) {
            this.originalPrice = originalPrice;
        }

        public int getDiscountType() {
            return discountType;
        }

        public void setDiscountType(int discountType) {
            this.discountType = discountType;
        }

        public int getDiscountPrice() {
            return discountPrice;
        }

        public void setDiscountPrice(int discountPrice) {
            this.discountPrice = discountPrice;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public int getGiveMethod() {
            return giveMethod;
        }

        public void setGiveMethod(int giveMethod) {
            this.giveMethod = giveMethod;
        }

        public int getDeliveryType() {
            return deliveryType;
        }

        public void setDeliveryType(int deliveryType) {
            this.deliveryType = deliveryType;
        }

        public int getDeliveryMoney() {
            return deliveryMoney;
        }

        public void setDeliveryMoney(int deliveryMoney) {
            this.deliveryMoney = deliveryMoney;
        }

        public List<ProductOrderProductInfoBeansBean> getProductOrderProductInfoBeans() {
            return productOrderProductInfoBeans;
        }

        public void setProductOrderProductInfoBeans(List<ProductOrderProductInfoBeansBean> productOrderProductInfoBeans) {
            this.productOrderProductInfoBeans = productOrderProductInfoBeans;
        }

        public static class ProductOrderProductInfoBeansBean {
            /**
             * productPrice : 9.80
             * type : 1
             * productId : 97
             * productImg : http://www.tofacial.com:8080/img/T17NTLIQM9GF6V95LS6P.jpg
             * productName : 泰国进口椰青 2个装 单果约750g 赠送开椰器和吸管
             * merchantsId : 13
             * merchantsName : 沃尔玛
             * merchantsImg : http://www.tofacial.com:8080/sendpo/all_imgs/merchant_imgs/39/151601396105720180115185744.jpg
             * count : 4
             * giveMethod : 1
             */

            private String productPrice;
            private int type;
            private int productId;
            private String productImg;
            private String productName;
            private int merchantsId;
            private String merchantsName;
            private String merchantsImg;
            private int count;
            private int giveMethod;

            public String getProductPrice() {
                return productPrice;
            }

            public void setProductPrice(String productPrice) {
                this.productPrice = productPrice;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public String getProductImg() {
                return productImg;
            }

            public void setProductImg(String productImg) {
                this.productImg = productImg;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public int getMerchantsId() {
                return merchantsId;
            }

            public void setMerchantsId(int merchantsId) {
                this.merchantsId = merchantsId;
            }

            public String getMerchantsName() {
                return merchantsName;
            }

            public void setMerchantsName(String merchantsName) {
                this.merchantsName = merchantsName;
            }

            public String getMerchantsImg() {
                return merchantsImg;
            }

            public void setMerchantsImg(String merchantsImg) {
                this.merchantsImg = merchantsImg;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getGiveMethod() {
                return giveMethod;
            }

            public void setGiveMethod(int giveMethod) {
                this.giveMethod = giveMethod;
            }
        }
    }
}
